home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Atari Compendium
/
The Atari Compendium (Toad Computers) (1994).iso
/
files
/
umich
/
utils
/
cat.arc
/
CAT.DOC
next >
Wrap
Text File
|
1987-08-24
|
1KB
|
19 lines
Here is a utility to print, view, and copy files. It is similar to
Braner's print.ttp, but has some different features. You can print a
file, in which case it adds a header with the filename and time (if
legit) and pagination. Optionally you can initialize a C. Itoh 8510
ProWriter to respect tabs. You can also show on the screen. The
advantage of using cat is that it will add the carriage returns if the
file has just line feeds, and it will expand 1st-Word spaces to real
ones. It also has a print-to-file feature so that you can convert a
1st-Word document to straight ASCII format (or, of course, you can use
first word and Braner's BARREL utility to print to disk).
Source code in TDI Modula-2 is included. The large size is kind of
upsetting (I optimized the linker, which reduces it some). Any hints on
shrinking M2 programs would be appreciated. I also plan to create an
accessory version, but am having trouble keeping the windows straight.
Sample programs in M2 which use GEM windows in an accessory would be
appreciated, since I'm having trouble with TDI's marginal documentation.